import Vue from 'vue'
import Router from 'vue-router'
import Hello from '@/components/Hello'
import home_index from '@/components/home_index'
import jianKang from '@/components/jianKang'
import chaQu from '@/components/chaQu'
import culture from '@/components/culture'
import cultureone from '@/components/cultureone'
import culturetwo from '@/components/culturetwo'
import culturethree from '@/components/culturethree'
import jiankangone from '@/components/jiankangone'
import baike from '@/components/baike'
import baikeTwo from '@/components/baikeTwo'
import jiankangtwo from '@/components/jiankangtwo'
import chaquone from '@/components/chaquone'
import chaqutwo from '@/components/chaqutwo'
import my from '@/components/my'
import xiaoxi from '@/components/xiaoxi'
import fensi from '@/components/fensi'
import mingdan from '@/components/mingdan'
import denglu from '@/components/denglu'
import zuce from '@/components/zuce'
import zhuye from '@/components/zhuye'
import index from '@/components/index'

Vue.use(Router)

export default new Router({
  routes: [
  	 {
      path: '/',
      name: 'index',
      component: index
    },
    {
      path: '/Hello',
      name: 'Hello',
      component: Hello
    },
    {
      path: '/jiankangone',
      name: 'jiankangone',
      component: jiankangone
		},
    {
      path: '/cultureone',
      name: 'cultureone',
      component: cultureone
    },
    {
      path: '/culturetwo',
      name: 'culturetwo',
      component: culturetwo
    },
    {
      path: '/culturethree',
      name: 'culturethree',
      component: culturethree
    },
    {
      path: '/home_index',
      component: zhuye,
      children:[
			    {
			      path: '',
			      name: 'home_index',
			      component: home_index
			    },
			    {
			      path: '/jianKang',
			      name: 'jianKang',
			      component: jianKang
			    },			    
					{
			      path: '/culture',
			      name: 'culture',
			      component: culture
			    },
			    {
			      path: '/chaQu',
			      name: 'chaQu',
			      component: chaQu
			    }
      ]
    },
    {
      path: '/baike',
      name: 'baike',
      component: baike
    }, 
    {
      path: '/baikeTwo',
      name: 'baikeTwo',
      component: baikeTwo
    },
    {
      path: '/jiankangtwo',
      name: 'jiankangtwo',
      component: jiankangtwo
    },
    {
      path: '/chaquone',
      name: 'chaquone',
      component: chaquone
    },
    {
      path: '/chaqutwo',
      name: 'chaqutwo',
      component: chaqutwo
    },
    {
      path: '/my',
      name: 'my',
      component: my
    },
    {
      path: '/xiaoxi',
      name: 'xiaoxi',
      component:xiaoxi
    },
    {
      path: '/fensi',
      name: 'fensi',
      component:fensi
    },
    {
      path: '/mingdan',
      name: 'mingdan',
      component:mingdan
    },
    {
      path: '/denglu',
      name: 'denglu',
      component:denglu
    },
    {
      path: '/zuce',
      name: 'zuce',
      component:zuce
    }
  ]
})
